const mongoose = require('mongoose')
const Schema = mongoose.Schema
const { ObjectId, String, Boolean } = Schema.Types

const Address = Schema({
    'userid': ObjectId,
    'addressid': ObjectId,
    'name': String,
    'tel': String,
    'province': String,
    'city': String,
    'county': String,
    'addressDetail': String,
    'isDefault': Boolean,
    'isDelete': Boolean
})

module.exports = Address
